// SettlementMapper.java
package com.cddx.logistics.mapper;

import com.cddx.logistics.domain.dto.SettlementQueryDTO;
import com.cddx.logistics.domain.vo.SettlementVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SettlementMapper {
    List<SettlementVO> querySettlements(SettlementQueryDTO queryDTO);
    int updateSettlementState(@Param("id") Integer id, @Param("settlementState") Integer settlementState);
    // 在SettlementMapper接口中添加
    int updateState(SettlementVO settlementVO);
    int deleteById(Integer id);
}